import request from '../utils/request'

let service ={
    getTests(){
        return request({
            method:'GET',
            url:'/tests/getTestsByTypesId'
        })
    },
    getTestById(_id){
        return request({
            method:'GET',
            url:`/tests/getTestsById?_id=${_id}`,
        })
    },
    findTestById(_id){
        return request({
            method:'GET',
            url:`/tests/findTestsById?_id=${_id}`
        })
    }
}

export default service